﻿
using System;
using System.Data;
using System.Data.SqlClient;
namespace Model
{
	
	/// <summary>	 
	/// 英文版类别信息
	/// </summary>
	public class DbEnClass
	{ 
		#region DbEnClass
		/// <summary>
		/// 
		/// </summary>
		public DbEnClass()
		{
		}
		/// <summary>	 
		/// 
		/// </summary>
		public DbEnClass(Int32 cId)
		{
			this.cId = cId;
		
		}
		/// <summary>	 
		/// 
		/// </summary>		
		public DbEnClass(DataRow dr)
		{
			int.TryParse(Convert.ToString(dr["cId"]),out cId);
			this.cEnName = Convert.ToString(dr["cEnName"]);
			this.cEnNote = Convert.ToString(dr["cEnNote"]);
			this.cEnKeywords = Convert.ToString(dr["cEnKeywords"]);
			this.cEnDescription = Convert.ToString(dr["cEnDescription"]);
			if(dr["cEnAddTime"] != DBNull.Value)
				this.cEnAddTime = Convert.ToDateTime(dr["cEnAddTime"]);
			
		}
		#endregion
		
		
		#region CId
		private Int32 cId;
		/// <summary>	 
		/// 类别ID
		/// PK
		/// </summary>
		public Int32 CId
		{
			get{ return cId; }
			set{ cId= value; }
		}
		#endregion
		
		#region CEnName
		private System.String cEnName;
		/// <summary>	 
		/// 类别名称
		/// </summary>
		public System.String CEnName
		{
			get{ return cEnName; }
			set{ cEnName= value; }
		}
		#endregion
		
		#region CEnNote
		private System.String cEnNote;
		/// <summary>	 
		/// 类别说明
		/// </summary>
		public System.String CEnNote
		{
			get{ return cEnNote; }
			set{ cEnNote= value; }
		}
		#endregion
		
		#region CEnKeywords
		private System.String cEnKeywords;
		/// <summary>	 
		/// 类别关键词
		/// </summary>
		public System.String CEnKeywords
		{
			get{ return cEnKeywords; }
			set{ cEnKeywords= value; }
		}
		#endregion
		
		#region CEnDescription
		private System.String cEnDescription;
		/// <summary>	 
		/// 类别描述
		/// </summary>
		public System.String CEnDescription
		{
			get{ return cEnDescription; }
			set{ cEnDescription= value; }
		}
		#endregion
		
		#region CEnAddTime
		private DateTime cEnAddTime;
		/// <summary>	 
		/// 操作时间
		/// </summary>
		public DateTime CEnAddTime
		{
			get{ return cEnAddTime; }
			set{ cEnAddTime= value; }
		}
		#endregion

	}
}
